package com.itheima.web.manager;

import com.itheima.domain.vo.AnalysisSummaryVo;
import com.itheima.service.db.AnalysisByDayService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class AnalysisManager {

    @Reference
    private AnalysisByDayService analysisByDayService;

    /**
     * 查询首页概要统计
     * @return
     */
    public AnalysisSummaryVo summary() {
        return analysisByDayService.summary();
    }
}
